package com.manli.api.dto;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;

/**
 * 动态和评论点赞人记录
 * 
 * @author manli
 * @email 
 * @date 2020-08-28 10:12:12
 */
@ApiModel(value = "动态和评论点赞人记录")
@Data
public class ManliSpaceLikeCountLog implements Serializable {

	/**
	 * 
	 */

    @ApiModelProperty(value = "",dataType = "Integer")
	    private Integer likeCountId;
	/**
	 * 1-动态点赞，2-评论点赞
	 */

    @ApiModelProperty(value = "1-动态点赞，2-评论点赞",dataType = "Integer")
	    private Integer type;
	/**
	 * 点赞人的unionid
	 */

    @ApiModelProperty(value = "点赞人的unionid",dataType = "String")
	    private String unionid;
	/**
	 * 点赞人的openid
	 */

    @ApiModelProperty(value = "点赞人的openid",dataType = "String")
	    private String openid;
	/**
	 * 点赞主体id
	 */

    @ApiModelProperty(value = "点赞主体id",dataType = "Integer")
	    private Integer subjectId;
	/**
	 * 创建时间
	 */

    @ApiModelProperty(value = "创建时间",dataType = "Date")
	    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Date createTime;

}
